<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:cc="http://java.sun.com/jsf/composite/components"
      xmlns:f="http://java.sun.com/jsf/core">
    <h:head>
        <title>Speed Dial</title>
    </h:head>
    <h:body>
        <ui:composition template="templates/main-template.xhtml">
                     
            <ui:define name="content">
                <h1>Üdvözöljük!</h1>
                
                <h:form>
                    <h:panelGrid columns="2" cellspacing="2">
                    
                        <h:outputLabel value="Felhasználóinév:" class="login-label"/>
                        <h:inputText value="#{userManager.username}" class="login-input"/>    
                        <h:outputLabel value="Jelszó:" class="login-label"/>
                        <h:inputSecret value="#{userManager.password}" class="login-input" />
                        <div/>
                        <h:commandButton value="Login" action="#{userManager.login}" />
                    
                    </h:panelGrid> 
                </h:form>
            </ui:define>        
   
        </ui:composition>
    </h:body>
</html>

